package com.example.service;

import com.example.domain.AddressBook;

import java.util.List;

public interface AddressBookService {
    public List<AddressBook> selectall(int pageCount,int pageSize,Long userId);

    public int getcount(Long userId);
    public List<AddressBook> list(Long userId);

    public void setstatusall(Long userId);

    public void setstatusone(AddressBook addressBook);
    public void save(AddressBook addressBook);

    public AddressBook alert(Long id);

    public void update(AddressBook addressBook);

    public void delete(Long id);

    public AddressBook getdefault(Long userId);

    public AddressBook selectbydefault(Long userId);
}
